package com.zhuoshi.service;

import java.util.List;

import com.zhuoshi.entity.Client;
/**
 * 
 * @author 海生
 *
 */
public interface ClientService {

	//查询所有客户基本信息   
	public List<Client> selectClientAllLu() throws Exception;

	//添加客户基本信息
	public int addClientLu(Client client) throws Exception;

	//删除客户信息
	public int deleteClient(int id) throws Exception;

	//根据id查询客户信息
	public Client selectClient(int id) throws Exception;

	//修改客户信息
	public int updateClient(Client client) throws Exception;

	//模糊查询客户信息
	public List<Client> mohuSelectClient(Client client) throws Exception;

	//根据电话查询客户ID和名称
	public Client selectClientIdAndNameByPhone(String phone);

}


